import { Injectable } from "@angular/core";
import { Hero } from "./heroes/hero";

@Injectable({
  providedIn: "root"
})
export class HeroService {
  constructor() {}
  getHeroes(): Hero[] {
    return [
      { id: 1, name: "service_a_111" },
      { id: 2, name: "service_a_2" },
      { id: 3, name: "service_a_333" },
      { id: 4, name: "f" }
    ];
  }
}
